package com.yyds.controller;

import com.yyds.common.MyJSON;
import com.yyds.common.R;
import com.yyds.service.VaccineStatusVoService;
import com.yyds.vo.VaccineStatusVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/admin/vaccine/statusVo")
public class VaccineStatusVoController {

    @Autowired
    @Qualifier("vaccineStatusVoService")
    private VaccineStatusVoService vaccineStatusVoService;

    //查询居民状态信息
    @RequestMapping("/queryAllStatus")
    public MyJSON<VaccineStatusVo> queryAllVaccineStatusVoController(@RequestParam Map<String, Object> map) {
        return vaccineStatusVoService.queryVaccineStatusVoService(map);
    }


}
